package com.zretc.emptraining.dao;

import java.util.List;

import com.zretc.emptraining.dbtools.PageData;
import com.zretc.emptraining.entity.CourseEva;

public interface CourseEvaDao {
	// 修改状态
	public boolean updCourseEva(CourseEva courseEva);

	// 员工删除评价
	public boolean delCourseEva(int evalNo);
	
	// 员工添加评价
	public boolean addCourseEva(CourseEva courseEva);

	// 查询所有
	public List<CourseEva> getCourseEvaAll();

	// 分页查询 名称分页查询
	public PageData<CourseEva> getCourseEvaByPage(int page, int pageSize, String courseNo);
	
	// 分页查询 课程计划编号 精确查询
	public PageData<CourseEva> getCourseEvaByCpNo(int page, int pageSize, int cpNo);
}
